package com.imooc.Dao;

import com.imooc.domain.Girl;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created  on 18-6-28 下午2:40.
 * 作者: Dengjb
 * 说明:
 */
public  interface GirlDao extends JpaRepository<Girl,Integer> {

	//通过年龄查询
	public List<Girl> findByAge(Integer age);
}
